package com.github.server.interfaces;

import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @ClassName HttpServer
 * @description:
 * @author: biao532
 * @create: 2024-02-01 16:32
 * @Version 1.0
 **/
public interface HttpServer extends Closeable {

    boolean accept() throws IOException;

    InputStream getInputStream() throws IOException;

    OutputStream getOutputStream() throws IOException;

}
